package com.threez.single.admin.singleadmin.config.enums;

import lombok.AllArgsConstructor;

/**
 * @author zhaozz
 * @title GlobalExceptionEnum
 * @date 2023/2/21 9:11
 */
@AllArgsConstructor
public enum GlobalExceptionEnum implements BaseExceptionEnums {
    HTTP_FORBIDDEN("403","没有访问权限，请联系管理员授权"),
    HTTP_UNAUTHORIZED("401","认证失败，无法访问系统资源"),
    DATA_NOT_EXIT("301","数据信息不存在"),
    ;
    private String code;
    private String msg;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


}
